<?php
/**
 * The main template file.
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */

get_header(); ?>

		<div id="container">
			<div id="content" role="main">
				<div id="main_slider">
					<ul id="slider">
						<?php $HT_font -> show_slider();?>
					</ul>
				</div>
				<div class="clear"></div>
				<?php if( get_option( 'show_small_sidebar', true ) == 1 ) : ?>
					<?php if ( is_active_sidebar( 'primary-widget-area' ) ) : ?>

						<div id="small_sidebar" class="widget-area" >
							<ul class="xoxo">
								<?php dynamic_sidebar( 'small-widget-area' ); ?>
							</ul>
						</div><!-- #small_sidebar .widget-area -->

					<?php endif; ?>
				<?php endif; ?>
				<div class="home_inner">
					<?php do_action('google_news', 'smart_grid');?>
				</div>
			</div><!-- #content -->
		</div><!-- #container -->

<?php if ( is_active_sidebar( 'primary-widget-area' ) ) : ?>

		<div id="primary" class="widget-area" >
			<ul class="xoxo">
				<?php dynamic_sidebar( 'primary-widget-area' ); ?>
			</ul>
		</div><!-- #primary .widget-area -->

<?php endif; ?>
<?php get_footer(); ?>
